//==========================================================================
// Copyright (c) 2000-2008,  Elastos, Inc.  All Rights Reserved.
//==========================================================================

#ifndef __ELASTOS_TESTBSPPC_H__
#define __ELASTOS_TESTBSPPC_H__

EXTERN_C void CDECL TestMemZone1();

INLINE void TestBootComandLine1()
{
    kprintf("======\n");
    kprintf("bootcommandline is %s\n", bsp.szBootCommandLine);
}

INLINE void TestPic1()
{
    kprintf("======\n");
    kprintf("IrqBase is %d\n", bsp.uIrqBase);//0x20
    kprintf("NumberOfIrqs is %d\n", bsp.uNumberOfIrqs);//16
}

INLINE void TestPit1()
{
    kprintf("======\n");
    kprintf("irqOfPIT is %d\n", bsp.irqOfPIT);
    kprintf("iplOfPIT is %d\n", bsp.iplOfPIT);
}

INLINE void TestOthers1()
{
    kprintf("======\n");
    kprintf("KernelVirtBase is %x\n", krn.vaKernelVirtBase);// void *
    kprintf("TickRate is %d\n", krn.uTickRate);
}

#endif //__ELASTOS_TESTBSPPC_H__
